<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewRealEstateTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewRealEstateLabel_realEstateID}"/>
                    <h:outputText value="#{realEstateController.selected.realEstateID}" title="#{bundle.ViewRealEstateTitle_realEstateID}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_location}"/>
                    <h:outputText value="#{realEstateController.selected.location}" title="#{bundle.ViewRealEstateTitle_location}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_deposit}"/>
                    <h:outputText value="#{realEstateController.selected.deposit}" title="#{bundle.ViewRealEstateTitle_deposit}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_price}"/>
                    <h:outputText value="#{realEstateController.selected.price}" title="#{bundle.ViewRealEstateTitle_price}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_priceType}"/>
                    <h:outputText value="#{realEstateController.selected.priceType}" title="#{bundle.ViewRealEstateTitle_priceType}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_noOfBedrooms}"/>
                    <h:outputText value="#{realEstateController.selected.noOfBedrooms}" title="#{bundle.ViewRealEstateTitle_noOfBedrooms}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_noOfBathrooms}"/>
                    <h:outputText value="#{realEstateController.selected.noOfBathrooms}" title="#{bundle.ViewRealEstateTitle_noOfBathrooms}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_extraFacilities}"/>
                    <h:outputText value="#{realEstateController.selected.extraFacilities}" title="#{bundle.ViewRealEstateTitle_extraFacilities}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_modesOfTransport}"/>
                    <h:outputText value="#{realEstateController.selected.modesOfTransport}" title="#{bundle.ViewRealEstateTitle_modesOfTransport}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_furniture}"/>
                    <h:outputText value="#{realEstateController.selected.furniture}" title="#{bundle.ViewRealEstateTitle_furniture}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_imageURL}"/>
                    <h:outputText value="#{realEstateController.selected.imageURL}" title="#{bundle.ViewRealEstateTitle_imageURL}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_modeOfPayment}"/>
                    <h:outputText value="#{realEstateController.selected.modeOfPayment}" title="#{bundle.ViewRealEstateTitle_modeOfPayment}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_title}"/>
                    <h:outputText value="#{realEstateController.selected.title}" title="#{bundle.ViewRealEstateTitle_title}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_briefeDescription}"/>
                    <h:outputText value="#{realEstateController.selected.briefeDescription}" title="#{bundle.ViewRealEstateTitle_briefeDescription}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_addDate}"/>
                    <h:outputText value="#{realEstateController.selected.addDate}" title="#{bundle.ViewRealEstateTitle_addDate}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_isActive}"/>
                    <h:outputText value="#{realEstateController.selected.isActive}" title="#{bundle.ViewRealEstateTitle_isActive}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_realEstateTypeID}"/>
                    <h:outputText value="#{realEstateController.selected.realEstateTypeID}" title="#{bundle.ViewRealEstateTitle_realEstateTypeID}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_createUserID}"/>
                    <h:outputText value="#{realEstateController.selected.createUserID}" title="#{bundle.ViewRealEstateTitle_createUserID}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_houseTypeID}"/>
                    <h:outputText value="#{realEstateController.selected.houseTypeID}" title="#{bundle.ViewRealEstateTitle_houseTypeID}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_contactPersonID}"/>
                    <h:outputText value="#{realEstateController.selected.contactPersonID}" title="#{bundle.ViewRealEstateTitle_contactPersonID}"/>
                    <h:outputText value="#{bundle.ViewRealEstateLabel_cityID}"/>
                    <h:outputText value="#{realEstateController.selected.cityID}" title="#{bundle.ViewRealEstateTitle_cityID}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{realEstateController.destroyAndView}" value="#{bundle.ViewRealEstateDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewRealEstateEditLink}"/>
                <br />
                <h:commandLink action="#{realEstateController.prepareCreate}" value="#{bundle.ViewRealEstateCreateLink}" />
                <br />
                <h:commandLink action="#{realEstateController.prepareList}" value="#{bundle.ViewRealEstateShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewRealEstateIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
